package com.levi.controller.point;

import com.levi.fallback.ProductFallbackFactory;
import com.levi.vo.OrderDto;
import com.levi.vo.PointDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author shentong
 * @since 2022/6/9 3:52 PM
 */
@RequestMapping("/product")
@FeignClient(value = "service-point")
public interface PonitControllerApi {

    @GetMapping("addPoint")
    boolean addPoint(@RequestBody PointDto pointDto);

}
